<?php

/**
 * Description of Encryption
 *
 * @author harriagada
 */
class EncryptionGet {

    public function Serializable($var) {
        return serialize($var);
    }

    public function Base64Encode($var) {
        return base64_encode($var);
    }

    public function Unserializable($encryptVar) {
        return unserialize($encryptVar);
    }

    public function Base64Decode($encryptVar) {
        return base64_decode($encryptVar);
    }
    
    public function Encrypt($var){
       return $this->Serializable($this->Base64Encode($var));
    }
    
    public function Decrypt($var){
        $this->Base64Decode($this->Unserializable($var));
    }

}

?>
